/**
 * Created by Administrator on 2017/4/7.
 */
(function(angular){
    //  详情页路由模块
    angular.module('mainApp_subject_route',['mainApp_subject_contrller'])
        //  配置路由表
        .config(function($routeProvider){
            $routeProvider
                .when('/:subject/:id',{
                    templateUrl:'js/js/subject/template.html',
                    controller:'subject_contrller'
                })
        })
})(angular)